package com.sinosoft.hydra.um.repositories;

import cn.com.sinux.spring.repositories.IBaseRepository;
import com.sinosoft.hydra.um.domain.permission.TMessage;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface TMessageDAO extends IBaseRepository<TMessage, String> {

    @Query("select m from  TMessage m where m.id in (?1)")
    public List<TMessage> findByIds(List<String> ids);

}